{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nvar genSelectionStyle = function genSelectionStyle(token) {\n  var _$concat2;\n  var componentCls = token.componentCls,\n    antCls = token.antCls,\n    iconCls = token.iconCls,\n    fontSizeIcon = token.fontSizeIcon,\n    paddingXS = token.paddingXS,\n    tableHeaderIconColor = token.tableHeaderIconColor,\n    tableHeaderIconColorHover = token.tableHeaderIconColorHover;\n  return _defineProperty({}, \"\".concat(componentCls, \"-wrapper\"), (_$concat2 = {}, _defineProperty(_$concat2, \"\".concat(componentCls, \"-selection-col\"), {\n    width: token.tableSelectionColumnWidth\n  }), _defineProperty(_$concat2, \"\".concat(componentCls, \"-bordered \").concat(componentCls, \"-selection-col\"), {\n    width: token.tableSelectionColumnWidth + paddingXS * 2\n  }), _defineProperty(_$concat2, \"\\n        table tr th\".concat(componentCls, \"-selection-column,\\n        table tr td\").concat(componentCls, \"-selection-column\\n      \"), _defineProperty({\n    paddingInlineEnd: token.paddingXS,\n    paddingInlineStart: token.paddingXS,\n    textAlign: 'center'\n  }, \"\".concat(antCls, \"-radio-wrapper\"), {\n    marginInlineEnd: 0\n  })), _defineProperty(_$concat2, \"table tr th\".concat(componentCls, \"-selection-column\").concat(componentCls, \"-cell-fix-left\"), {\n    zIndex: token.zIndexTableFixed\n  }), _defineProperty(_$concat2, \"table tr th\".concat(componentCls, \"-selection-column::after\"), {\n    backgroundColor: 'transparent !important'\n  }), _defineProperty(_$concat2, \"\".concat(componentCls, \"-selection\"), {\n    position: 'relative',\n    display: 'inline-flex',\n    flexDirection: 'column'\n  }), _defineProperty(_$concat2, \"\".concat(componentCls, \"-selection-extra\"), _defineProperty({\n    position: 'absolute',\n    top: 0,\n    zIndex: 1,\n    cursor: 'pointer',\n    transition: \"all \".concat(token.motionDurationSlow),\n    marginInlineStart: '100%',\n    paddingInlineStart: \"\".concat(token.tablePaddingHorizontal / 4, \"px\")\n  }, iconCls, {\n    color: tableHeaderIconColor,\n    fontSize: fontSizeIcon,\n    verticalAlign: 'baseline',\n    '&:hover': {\n      color: tableHeaderIconColorHover\n    }\n  })), _$concat2));\n};\nexport default genSelectionStyle;","map":{"version":3,"names":["genSelectionStyle","token","componentCls","antCls","iconCls","fontSizeIcon","paddingXS","tableHeaderIconColor","tableHeaderIconColorHover","width","tableSelectionColumnWidth","paddingInlineEnd","paddingInlineStart","textAlign","marginInlineEnd","zIndex","zIndexTableFixed","backgroundColor","position","display","flexDirection","top","cursor","transition","motionDurationSlow","marginInlineStart","tablePaddingHorizontal","color","fontSize","verticalAlign"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/table/style/selection.js"],"sourcesContent":["const genSelectionStyle = token => {\n  const {\n    componentCls,\n    antCls,\n    iconCls,\n    fontSizeIcon,\n    paddingXS,\n    tableHeaderIconColor,\n    tableHeaderIconColorHover\n  } = token;\n  return {\n    [`${componentCls}-wrapper`]: {\n      // ========================== Selections ==========================\n      [`${componentCls}-selection-col`]: {\n        width: token.tableSelectionColumnWidth\n      },\n      [`${componentCls}-bordered ${componentCls}-selection-col`]: {\n        width: token.tableSelectionColumnWidth + paddingXS * 2\n      },\n      [`\n        table tr th${componentCls}-selection-column,\n        table tr td${componentCls}-selection-column\n      `]: {\n        paddingInlineEnd: token.paddingXS,\n        paddingInlineStart: token.paddingXS,\n        textAlign: 'center',\n        [`${antCls}-radio-wrapper`]: {\n          marginInlineEnd: 0\n        }\n      },\n      [`table tr th${componentCls}-selection-column${componentCls}-cell-fix-left`]: {\n        zIndex: token.zIndexTableFixed\n      },\n      [`table tr th${componentCls}-selection-column::after`]: {\n        backgroundColor: 'transparent !important'\n      },\n      [`${componentCls}-selection`]: {\n        position: 'relative',\n        display: 'inline-flex',\n        flexDirection: 'column'\n      },\n      [`${componentCls}-selection-extra`]: {\n        position: 'absolute',\n        top: 0,\n        zIndex: 1,\n        cursor: 'pointer',\n        transition: `all ${token.motionDurationSlow}`,\n        marginInlineStart: '100%',\n        paddingInlineStart: `${token.tablePaddingHorizontal / 4}px`,\n        [iconCls]: {\n          color: tableHeaderIconColor,\n          fontSize: fontSizeIcon,\n          verticalAlign: 'baseline',\n          '&:hover': {\n            color: tableHeaderIconColorHover\n          }\n        }\n      }\n    }\n  };\n};\nexport default genSelectionStyle;"],"mappings":";AAAA,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiB,CAAGC,KAAK,EAAI;EAAA;EACjC,IACEC,YAAY,GAOVD,KAAK,CAPPC,YAAY;IACZC,MAAM,GAMJF,KAAK,CANPE,MAAM;IACNC,OAAO,GAKLH,KAAK,CALPG,OAAO;IACPC,YAAY,GAIVJ,KAAK,CAJPI,YAAY;IACZC,SAAS,GAGPL,KAAK,CAHPK,SAAS;IACTC,oBAAoB,GAElBN,KAAK,CAFPM,oBAAoB;IACpBC,yBAAyB,GACvBP,KAAK,CADPO,yBAAyB;EAE3B,qCACMN,YAAY,qEAEVA,YAAY,qBAAmB;IACjCO,KAAK,EAAER,KAAK,CAACS;EACf,CAAC,wCACGR,YAAY,uBAAaA,YAAY,qBAAmB;IAC1DO,KAAK,EAAER,KAAK,CAACS,yBAAyB,GAAGJ,SAAS,GAAG;EACvD,CAAC,6DAEcJ,YAAY,oDACZA,YAAY;IAEzBS,gBAAgB,EAAEV,KAAK,CAACK,SAAS;IACjCM,kBAAkB,EAAEX,KAAK,CAACK,SAAS;IACnCO,SAAS,EAAE;EAAQ,aACfV,MAAM,qBAAmB;IAC3BW,eAAe,EAAE;EACnB,CAAC,oDAEYZ,YAAY,8BAAoBA,YAAY,qBAAmB;IAC5Ea,MAAM,EAAEd,KAAK,CAACe;EAChB,CAAC,mDACcd,YAAY,+BAA6B;IACtDe,eAAe,EAAE;EACnB,CAAC,wCACGf,YAAY,iBAAe;IAC7BgB,QAAQ,EAAE,UAAU;IACpBC,OAAO,EAAE,aAAa;IACtBC,aAAa,EAAE;EACjB,CAAC,wCACGlB,YAAY;IACdgB,QAAQ,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